import React, {Component} from 'react';

export default class NoPowerShow extends Component {
	render() {
		const id = this.props.id;
		let text = '';
		switch(id) {
			case 2: 
				 text = '施工风险录入中';
				 break;
			case 13: 
			 	 text = '施工计划录入中';
			 	 break;	 
			case 14: 
				 text = '施工计划确认中';
				 break;	 
			case 5: 
				 text = '通知确认中';
				 break;
			case 6: 
				 text = '标识摆放确认中';
				 break;		
			case 7: 
				 text = '安检确认中';
				 break;
			case 8: 
				 text = '等待指挥部确认中';
				 break;
			case 11: 
				 text = '监理确认中';
				 break; 
			case 12: 
				 text = '安检确认中';
				 break;
			case 15: 
				 text = '结束施工确认中';
				 break;
			default: 
				 break;
		}
		return(
			<div className='noPowerDiv'>
				<img src={require('../image/doing.png')} alt=''/>
				<p>{text},请稍候...</p>
			</div>
		);
	}
}